package com.caishi.lkx.distribution.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caishi.lkx.distribution.ienum.MoneyLevelType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("distribution_money_level")
public class DistributionMoneyLevel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Double commissionRate;

    private MoneyLevelType type;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private String creator;
    private String updater;
    @TableField(exist = false)
    private String level;
}
